home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / PowerPC / Dev / PPCRelease / FD2Inline / include / ppcinline / potgo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-12-12  |  834 b   |  27 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _PPCINLINE_POTGO_H
  4. #define _PPCINLINE_POTGO_H
  5.  
  6. #ifndef __PPCINLINE_MACROS_H
  7. #include <powerup/ppcinline/macros.h>
  8. #endif /* !__PPCINLINE_MACROS_H */
  9.  
  10. #ifndef POTGO_BASE_NAME
  11. #define POTGO_BASE_NAME PotgoBase
  12. #endif /* !POTGO_BASE_NAME */
  13.  
  14. #define AllocPotBits(bits) \
  15.     LP1(0x6, UWORD, AllocPotBits, unsigned long, bits, d0, \
  16.     , POTGO_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  17.  
  18. #define FreePotBits(bits) \
  19.     LP1NR(0xc, FreePotBits, unsigned long, bits, d0, \
  20.     , POTGO_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  21.  
  22. #define WritePotgo(word, mask) \
  23.     LP2NR(0x12, WritePotgo, unsigned long, word, d0, unsigned long, mask, d1, \
  24.     , POTGO_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  25.  
  26. #endif /* !_PPCINLINE_POTGO_H */
  27.